package com.xjm.entity.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


@TableName("menu")
@Data
public class MenuModel implements Serializable {
    private Integer id;

    private String name;

    private Integer pid;

    private String icon;

    private Integer sort;

    private String path;

    private Integer status;

    @TableField(fill = FieldFill.INSERT)
    private Date createdTime;

    @TableField(fill = FieldFill.UPDATE)
    private Date updatedTime;

    private static final long serialVersionUID = 1L;
}
